﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using HomeworkFormatting;

public partial class Student_HomeworkSelectUserControl : System.Web.UI.UserControl
{
    protected void Page_Load(object sender, EventArgs e)
    {
        string[] foo;
        string bar = "";
        URLTextBox.Text = "";

        foo = StringFormatting.HomeworkConversion.formatHomework("calculus");

        for (int i = 0; i < foo.Length; i++)
        {
            bar += foo[i];
            bar += Environment.NewLine;
        }

        URLTextBox.Text = bar;
    }
}